import { request } from "./request";

export function getCategory() {
  return request({
    url: "/gametype/queryGameTypes",
    method: "GET",
  });
}

export function getCategoryGame(gtId, pageNum) {
  return request({
    url: "/gametype/GameTypeById",
    method: "GET",
    params: {
      gtId,
      pageNum,
    },
  });
}

export function getThreeGame(gtId) {
  return request({
    url: "/gametype/gameTypeInformationPaiHang",
    method: "GET",
    params: {
      gtId,
    },
  });
}
